package com.video.chat.domain.pojo;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用于封装浏览器发送给服务端的消息数据
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message {
    private String toName;
    private String fromName;
    private  Long createTime;
    @JSONField(name = "content")
    private String message;
}